package java10;

import java.util.Scanner;

public class text3 {
	public static void main(String[] args) {
		Visitor v=new Visitor();
		Scanner input=new Scanner(System.in);
		System.out.println("请输入姓名");
		v.name=input.next();
		System.out.println("请输入年龄");
		v.age=input.nextInt();
		v.show();
	}
}
